 public static void isok(int[] array){
        if(array.length==0)
            System.out.println("No");
        Arrays.sort(array);
        int tmp;
        int sum=0;
        for(int i=0 ;i<array.length/2;i++){
            tmp = array[i];
            array[i] = array[array.length-1-i];
            array[array.length-1-i] = tmp;
        }
        for(int i=1; i<array.length;i++){
            sum +=array[i];
        }
        if(sum>=array[0]){
           System.out.println("Yes");
        }else{
            System.out.println("No");
        }

    }
